package com.wangjiacai.utils.utils;

import java.util.UUID;

/*
 * @auther: wangjiacai
 *
 * @create: 2019-01-18 20:20:22
 */
public class TokenUtil {

    public static String getUUID32(){
        String token= UUID.randomUUID().toString().replaceAll("-","");
        return token;
    }

    public static String getUUID64(){
        String token= UUID.randomUUID().toString().replaceAll("-","")+
                UUID.randomUUID().toString().replaceAll("-","");
        return token;
    }
}
